package com.dom.domweb.modular.service;

import com.dom.common.model.vo.stor.*;
import com.dom.domweb.consumer.StorStockinConsumer;
import com.dom.domweb.consumer.StorStockoutConsumer;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @Description 库存单据服务
 * @Author xllei
 * @Date 2018/12/21 4:02 PM
 * @Version 1.0
 **/
@Service
public class StorOrderService {
    @Autowired
    private StorStockinConsumer storStockinConsumer;
    @Autowired
    private StorStockoutConsumer storStockoutConsumer;

    public S019A findStockinPager(S019R request){
        return storStockinConsumer.findStockinPager(request);
    }

    public S010A addStockinBill(S010R request) {
        return storStockinConsumer.addStockinBill(request);
    }

    public S029A findStockinDetail(S029R request){
        return storStockinConsumer.findStockinDetailList(request);
    }

    public S012A editStockinBill(S012R request){
        return storStockinConsumer.editStockinBill(request);
    }

    public S011A delStockinBill(S011R request) {
        return storStockinConsumer.delStockinBill(request);
    }

    public S039A findStockoutPager(S039R request){
        return storStockoutConsumer.findStockoutPager(request);
    }

    public S030A addStockoutBill(S030R request) {
        return storStockoutConsumer.addStockoutBill(request);
    }

    public S049A findStockoutDetail(S049R request){
        return storStockoutConsumer.findStockoutDetailList(request);
    }

    public S032A editStockoutBill(S032R request){
        return storStockoutConsumer.editStockoutBill(request);
    }

    public S031A delStockoutBill(S031R request){
        return storStockoutConsumer.delStockoutBill(request);
    }

    public S015A verfyStockinBill(S015R request){
        return storStockinConsumer.verfyStockIn(request);
    }
}
